package com.jiang.service;

import com.jiang.bean.Classno;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ClassnoService {
    public int getCountclass(@Param("classnum") String classnum,@Param("college")String college,@Param("headmaster")String headmaster);

    public List<Classno> getAllClassno(@Param("classnum") String classnum, @Param("college")String college, @Param("headmaster")String headmaster,@Param("pageStart") int pageStart,@Param("pageSize") int pageSize);

    public Classno selectById(int id);

    public int deleteClassno(int id);

    public int updataClassno(Classno classno);

    public int addClassno(Classno classno);
}
